package com.study.service;

import com.study.pojo.BookPoint;

import java.util.List;

public interface BookPointService {
    BookPoint queryById(Integer id);

    List<BookPoint> queryAllByLimit(int offset, int limit);

    void insertOrUpdate(BookPoint bookPoint);

    BookPoint update(BookPoint bookPoint);

    boolean deleteById(Integer id);

    List<BookPoint> queryAllPoints(Integer bookId);
}
